<template>
    <div class="flex-app-continer">
        <vxe-modal
            :showFooter="false"
            :showHeader="false"
            title="新增发票"
            ref="modal1"
            fullscreen
            @close="closeSearch"
            :resize="true"
        >
            <handleDetail @closeSearch="closeSearch" :ADDEDITLOOK="ADDEDITLOOK"></handleDetail>
        </vxe-modal>
    </div>
</template>
  <script>
  import handleDetail from '@/views/home/handleDetail/index.vue'
export default {
    name: 'addVoiceDialog',
    data() {
        return {
            ADDEDITLOOK:'EDIT'
        }
    },
    components: {
        handleDetail
    },
    methods: {
        closeSearch() {
            this.$refs.modal1.close()
            this.$nextTick(()=>{
                this.$emit('voiceDialogFn',false)
            })
        },
    
        show(type) {
            this.ADDEDITLOOK = type
            this.$refs.modal1.open()
        },
    },
}
</script>
  <style lang="scss">
</style>